#include <iostream>
#include <fstream>

int main()
{
    std::ofstream writef;     
    //writef.open(filename, std::ios::trunc);
    //writef.write(s, len);
    
    writef.open("dameon.pid", std::ios::app);
    writef.write("ab", 2);
    
    writef.close();
    
    return 0;
}    
